/** 
 *  @file
 *  @brief   T2形（T2）梁截面属性使用解析公式计算类
 *  @author  duweixing
 *  @date    2024.04.17
 *  @version v1.0
 *  @par Copyright(c):  ShenGong  Simulation corporation
 */

#pragma once
#include "../../Common/BeamSecPropCalculatorExport.h"
#include "../Interface/IBarSectionFormulaCalculator.h"

SG_NAMESPACE_OPEN
namespace FEMSolver {
namespace Element {

class BeamSecPropCalculator_DECLSPEC T2SectionFormulaCalculator : public IBarSectionFormulaCalculator
{
public:
    T2SectionFormulaCalculator () = default;
    virtual ~T2SectionFormulaCalculator () {};
    void Compute
    (
    const SG::DataStructure::FEM::PBARLData& section,
    _OUT SG::DataStructure::FEM::PBARData&   property,
    _OUT SG::Algebra::Point&                 centroid
    ) const override;
};

}; // end namespace Element
}; // end namespace FEMSolver
SG_NAMESPACE_CLOSE